#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv){
	/*
	 *
	 * vector [ 2 * 4 ] 
	 *
	 * */	
	int *vector = (int *)realloc(NULL, 4 * sizeof(int));

	for(int i = 0; i < 4 ; i++){
		vector[i] = 8;
	}

	vector = realloc(vector, 2 * 4 * sizeof(int));

	for(int i = 0 ; i < 4; i++){
		printf("vector[%d]:%d\n", i, vector[i]);
	}

	free(vector);

	return 0;

}
